module two {
	export class LockConfirmBox extends BaseComponent {
		public constructor() {
			super("LockConfirmBox");
		}
		public btn_cancel: eui.Button;
		public btn_ok: eui.Button;

		protected created(): void {
			super.created();

			two.addTap(this.btn_cancel, () => {
				two.closeBox(this, true);
			})
			two.addTap(this.btn_ok, () => {
				two.closeBox(this, true);

				this.dispatchEventWith("onOK");
			})
		}
	}
}